package com.peisong.anno;

import com.peisong.config.CommonImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE}) //作用在类上
@Retention(RetentionPolicy.RUNTIME) //运行时生效
@Import(CommonImportSelector.class) //引入自定义的ImportSelector
public @interface EnableCommonConfig {
}
